fix option processing for delbin gcsym option.
authortsteven4 <tsteven4@gmail.com>
Sat, 20 Feb 2016 05:14:52 +0000 (22:14 -0700)
committertsteven4 <tsteven4@gmail.com>
Sat, 20 Feb 2016 05:14:52 +0000 (22:14 -0700)
delbin.cc

index 0e0ec2d0549f17725e113e4fbda2c7c9f26c9fbb..56735fc2a59e3ded90c6c7d38675bac329c8dd45 100644 (file)
--- a/delbin.cc
+++ b/delbin.cc
@@ -137,7 +137,7 @@ static arglist_t delbin_args[] = {
     ARG_NOMINMAX
   },
   {"hint_at_end", &opt_hint_at_end, "If true, geocache hint at end of text", NULL, ARGTYPE_BOOL, ARG_NOMINMAX },
-  {"gcsym", &opt_gcsym, "If set to 0, prefer user-provided symbols over Groundspeaks ones for geocaches", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, (char*) "1" },
+  {"gcsym", &opt_gcsym, "If set to 0, prefer user-provided symbols over Groundspeaks ones for geocaches", "1", ARGTYPE_BOOL, ARG_NOMINMAX },
   ARG_TERMINATOR
 };